package com.hjl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author ServivE
 * @version 0.1
 * @className HelloController
 * @description
 * @date 2024/8/10 15:31
 * @since jdk11
 */
@Controller
public class HelloController {
    @RequestMapping("/springmvc/hello")
    @ResponseBody
    public String hello() {
        System.out.println("hello Controller.hello");
        return "controller hello";
    }
}
